// insert ... 语句

const { user, blog } = require('./model');
const userData = require('./user-data.js');

!(() => {
    // 创建用户
    // const bigFinish = await user.create({
    //     username: '鱼儿',
    //     passward: 'admin123',
    //     nickname: '飞鱼',
    // });
    userData.forEach( async item => {
        const bigFinish = await user.create({
            username: item.username,
            passward: item.passward,
            nickname: item.nickname,
        });
    });

})();